package org.web.accesscontrollist.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.accesscontrollist.server.domain.query.QueryAclResourceDefinition;
import org.web.accesscontrollist.server.domain.AclResourceDefinitionDO;

@Mapper
public interface AclResourceDefinitionDAO {

	AclResourceDefinitionDO selectAclResourceDefinitionByAclResourceDefinitionId(Long aclResourceDefinitionId);

	List< AclResourceDefinitionDO > selectAclResourceDefinitionList(QueryAclResourceDefinition queryAclResourceDefinition);

	Integer countAclResourceDefinitionList(QueryAclResourceDefinition queryAclResourceDefinition);

	int insertAclResourceDefinition(AclResourceDefinitionDO aclResourceDefinitionDO);

	int updateAclResourceDefinitionByAclResourceDefinitionId(AclResourceDefinitionDO aclResourceDefinitionDO);
	
	List<String> selectDistinctList(QueryAclResourceDefinition queryAclResourceDefinition);

}
